home *** CD-ROM | disk | FTP | other *** search
-
- ' Get the length of INSTALLDIR
- Dim nInstallLength:nInstallLength = Len(Session.Property("INSTALLDIR"))
-
- ' Get the MaxPath, set in Property Manager
- Dim nMaxLength:nMaxLength = CInt(Session.Property("MaxPathInstall"))
-
- ' Set property [InstallPathTooLong] if INSTALLDIR length is too long
- Session.Property("InstallPathTooLong") = "0"
-
- If (nInstallLength > nMaxLength) Then
- Session.Property("InstallPathTooLong") = "1"
- Else
- Session.Property("InstallPathTooLong") = "0"
- End If
-
-
-